package com.thinksns.sociax.t4.android.event;

import com.google.gson.annotations.SerializedName;
import com.thinksns.sociax.thinksnsbase.bean.SociaxItem;

import java.util.List;

/**
 * Created by zhiyicx on 2017/5/11.
 */

public class EventPhotosBean extends SociaxItem {

    /**
     * status : 1
     * data : [{"table":"","row_id":0,"app_name":"","attach_type":"event_image","uid":47991,"ctime":1494497172,"private":0,"is_del":0,"from":"0","name":"HupuBBS_170511171158-1242822577.png","type":"application/octet-stream","size":"474.83 KB","extension":"png","hash":"df9fdc7065cd6ee0d3ecfd09382c06c8","save_path":"2017/0511/18/","save_name":"591437948eee91ea893d.png","width":750,"height":1164,"attach_id":87405,"key":0}]
     */
    @SerializedName("status")
    private int status;
    @SerializedName("data")
    private List<DataBean> data;

    @Override
    public boolean checkValid() {
        return false;
    }

    @Override
    public String getUserface() {
        return null;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }


    public static class DataBean {
        /**
         * table :
         * row_id : 0
         * app_name :
         * attach_type : event_image
         * uid : 47991
         * ctime : 1494497172
         * private : 0
         * is_del : 0
         * from : 0
         * name : HupuBBS_170511171158-1242822577.png
         * type : application/octet-stream
         * size : 474.83 KB
         * extension : png
         * hash : df9fdc7065cd6ee0d3ecfd09382c06c8
         * save_path : 2017/0511/18/
         * save_name : 591437948eee91ea893d.png
         * width : 750
         * height : 1164
         * attach_id : 87405
         * key : 0
         */
        @SerializedName("table")
        private String table;
        @SerializedName("row_id")
        private int row_id;
        @SerializedName("app_name")
        private String app_name;
        @SerializedName("attach_type")
        private String attach_type;
        @SerializedName("uid")
        private int uid;
        @SerializedName("ctime")
        private int ctime;
        @SerializedName("private")
        private int privateX;
        @SerializedName("is_del")
        private int is_del;
        @SerializedName("from")
        private String from;
        @SerializedName("name")
        private String name;
        @SerializedName("type")
        private String type;
        @SerializedName("size")
        private String size;
        @SerializedName("extension")
        private String extension;
        @SerializedName("hash")
        private String hash;
        @SerializedName("save_path")
        private String save_path;
        @SerializedName("save_name")
        private String save_name;
        @SerializedName("width")
        private int width;
        @SerializedName("height")
        private int height;
        @SerializedName("attach_id")
        private int attach_id;
//        @SerializedName("key")
//        private int key;

        public String getTable() {
            return table;
        }

        public void setTable(String table) {
            this.table = table;
        }

        public int getRow_id() {
            return row_id;
        }

        public void setRow_id(int row_id) {
            this.row_id = row_id;
        }

        public String getApp_name() {
            return app_name;
        }

        public void setApp_name(String app_name) {
            this.app_name = app_name;
        }

        public String getAttach_type() {
            return attach_type;
        }

        public void setAttach_type(String attach_type) {
            this.attach_type = attach_type;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public int getCtime() {
            return ctime;
        }

        public void setCtime(int ctime) {
            this.ctime = ctime;
        }

        public int getPrivateX() {
            return privateX;
        }

        public void setPrivateX(int privateX) {
            this.privateX = privateX;
        }

        public int getIs_del() {
            return is_del;
        }

        public void setIs_del(int is_del) {
            this.is_del = is_del;
        }

        public String getFrom() {
            return from;
        }

        public void setFrom(String from) {
            this.from = from;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getExtension() {
            return extension;
        }

        public void setExtension(String extension) {
            this.extension = extension;
        }

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        public String getSave_path() {
            return save_path;
        }

        public void setSave_path(String save_path) {
            this.save_path = save_path;
        }

        public String getSave_name() {
            return save_name;
        }

        public void setSave_name(String save_name) {
            this.save_name = save_name;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public int getAttach_id() {
            return attach_id;
        }

        public void setAttach_id(int attach_id) {
            this.attach_id = attach_id;
        }

//        public int getKey() {
//            return key;
//        }
//
//        public void setKey(int key) {
//            this.key = key;
//        }
    }
}
